Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

application-manager: pull newer version of Webpack #9831

Merged
merged 1 commit into from
Aug 4, 2021

Conversation

paul-marechal
Copy link
Member

@paul-marechal paul-marechal commented Aug 3, 2021

The issue when bundling Theia applications in production as of
[email protected], so we can revert webpack's range to pull
newer versions again.

How to test

  • yarn && yarn --cwd examples\browser theia build should work.
  • yarn why webpack-sources should output something equal or greater to 3.2.0.

Review checklist

Reminder for reviewers

The issue when bundling Theia applications in production as of
`[email protected]`, so we can revert `webpack`'s range to pull
newer versions again.
@vince-fugnitto vince-fugnitto added the dependencies pull requests that update a dependency file label Aug 3, 2021
Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I confirmed that:

  • the updated dependency is license compatible.
  • production builds still work correctly, meaning the fix to webpack-sources is valid.

gitpod /workspace/theia $ yarn why webpack
yarn why v1.22.10
[1/4] Why do we have the module "webpack"...?
[2/4] Initialising dependency graph...
[3/4] Finding dependency...
[4/4] Calculating file sizes...
=> Found "[email protected]"
info Reasons this module exists
   - "_project_#@theia#application-manager" depends on it
   - Hoisted from "_project_#@theia#application-manager#webpack"
info Disk size without dependencies: "6.25MB"
info Disk size with unique dependencies: "6.25MB"
info Disk size with transitive dependencies: "6.25MB"
info Number of shared dependencies: 46
Done in 1.17s.
gitpod /workspace/theia $ yarn why webpack-sources
yarn why v1.22.10
[1/4] Why do we have the module "webpack-sources"...?
[2/4] Initialising dependency graph...
[3/4] Finding dependency...
[4/4] Calculating file sizes...
=> Found "[email protected]"
info Reasons this module exists
   - "_project_#@theia#application-manager#@theia#compression-webpack-plugin" depends on it
   - Hoisted from "_project_#@theia#application-manager#@theia#compression-webpack-plugin#webpack-sources"
info Disk size without dependencies: "80KB"
info Disk size with unique dependencies: "968KB"
info Disk size with transitive dependencies: "968KB"
info Number of shared dependencies: 2
=> Found "webpack#[email protected]"
info This module exists because "_project_#@theia#application-manager#webpack" depends on it.
info Disk size without dependencies: "156KB"
info Disk size with unique dependencies: "156KB"
info Disk size with transitive dependencies: "156KB"
info Number of shared dependencies: 0
Done in 0.95s.

Copy link
Member

@msujew msujew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM everything still builds successfully. Yarn lists the current webpack-sources dependency as 3.2.0 ✔️

@paul-marechal paul-marechal merged commit b2e6791 into master Aug 4, 2021
@paul-marechal paul-marechal deleted the mp/webpack-range branch August 4, 2021 16:21
@github-actions github-actions bot added this to the 1.17.0 milestone Aug 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants